package com.stedu.mall.common.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Category implements Serializable {

    private Integer id;
    private String name;//名称
    private String dscp;//描述
    private String pic;//图片
    private Integer parentId;//父分类的ID
    private Integer recom;//是否推荐 0不推荐1推荐
    private Integer status;//是否上架 0下架1上架

    private Category parent;//父分类
    private List<Category> childList;//当前分类下所有的子分类
    private List<Goods> goodsList;
}
/*


 */